﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using GottaHaveFriends.Models;

namespace GottaHaveFriends.Controllers
{
  public class FriendsController : Controller
  {
    IFriendRepository _repo;

    public FriendsController():this(new FriendRepository())
    {
    }

    public FriendsController(IFriendRepository friendRepo)
    {
      _repo = friendRepo;
    }
    public void Index()
    {
      RenderView("Index");
    }
    public void List()
    {
      RenderView("List");
    }
  }
}
